package com.hq.myapplicationdemo.model.enums;

public enum AdapterModel {
    Grid(0), List(1);
    private int index;
    // 构造方法
    private AdapterModel(int index) {
        this.index = index;
    }

    public int getIndex() {
        return index;
    }
}